<template>
  <div>
    Hello world
    <button @click="goHome()">点我转到Home</button>
  </div>
</template>

<script>
export default {
  name: 'Hello',
  methods: {
    goHome () {
      this.$router.push('/home')
    }
  }
}
</script>

<style scoped>

</style>
